home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 May: Tool Chest / Dev.CD May 97 TC.toast / Sample Code / Snippets / Development Tools & Languages / Windoid / WindoidRez.h < prev   
Encoding:
Text File  |  1995-02-13  |  1.6 KB  |  48 lines  |  [TEXT/MPS ]

  1. // Copyright © 1991 by Apple Computer, Inc.  All rights reserved. 
  2. // WindoidRez.h file - used by both Rez and the main code
  3.  
  4. #ifndef __WINDOIDREZ__
  5. #define __WINDOIDREZ__
  6.  
  7. // RESOURCE IDs ---------------------------------------------------------------
  8.  
  9. // GLOBALS --------------------------------------------------------------------
  10.  
  11. #define kSignature                'MOOF'            // qpplication signature
  12. #define kFileType                'SF01'            // file type code used for document files created by this application
  13.  
  14.  
  15. // MENUS ----------------------------------------------------------------------
  16.  
  17. #define mWindoid                10                // windoid menu
  18. #define cGreen                    1001            // windoid commands
  19. #define cYellow                    1002    
  20. #define cRed                    1003
  21.  
  22. #define mNormalMenu                11
  23. #define cNormGreen                1101
  24. #define cNormYellow                1102
  25. #define cNormRed                1103
  26.  
  27. #define cChangeTool                1014
  28.  
  29.  
  30. // VIEWS ----------------------------------------------------------------------
  31.  
  32. #define kWindowRSRCID            1001            // the main document window
  33. #define kShapeViewRSRCID        1006
  34. #define kLightPaletteRSRCID        1007
  35.  
  36. #define kLightPaletteWidth        35                // width of the tools palette
  37. #define kLightPaletteHeight        102                // height of the tools palette 
  38. #define kLightsInPalette        3
  39.  
  40. #define kWindoidWDEF            48                // the default windoid WDEF proc ID
  41. #define kWindoidHilite             1                // add this to kWindoidWDEF if the title bar can be unhilited
  42. #define kWindoidTallTitleBar     2                // add this to kWindoidWDEF if the title bar has a title
  43. #define kWindoidNotResizable     4                // add this to kWindoidWDEF if the windoid is NOT resizable
  44. #define kWindoidZoomable         8                // add this to kWindoidWDEF if the windoid is zoomable
  45.  
  46.  
  47. #endif
  48.